<div class="admin">
<div class="tab panel dux-box admin-panel">
    <div class="panel-head"><strong>用户提问详情</strong></div>
    <form action="" method="post" name="myform" id="myform">
    <input type="hidden" value="{$advice['id']}" name="id">
    <table class="table tb-type2 order">
        <tbody>
            <tr>
                <td colspan="5">
                    <ul>
                        <li><strong>商品:</strong>&nbsp;&nbsp;<a>{$advice['goods_name']}</a></li>
                        <li><strong>用户名:</strong>&nbsp;&nbsp;{$advice['user_name']}</li>
                        <li><strong>联系方式:</strong>&nbsp;&nbsp;{$advice['phone']}</li>
                        <li><strong>时间:</strong>&nbsp;&nbsp;{$advice['addtime']|date="y-m-d H:i:s",###}</li>
                        <li><strong>其他:</strong>&nbsp;&nbsp;该用户共提问过<b>{$advice['num']}</b>次</li>
                    </ul>
                </td>
            </tr>
            <tr>
                <th colspan="5">提问解答</th>
            </tr>
        <tr>
            <td colspan="5">
                <ul>
                    <li><strong>问题:</strong>&nbsp;&nbsp;{$advice['question']}</li>
                    <li style="list-style:none;"><strong style="position: absolute;">解答:</strong>&nbsp;&nbsp;
                        <textarea rows="7" cols="100" name="reply" style="margin-left: 29px;">{$advice['reply']}</textarea>
                    </li>
                </ul>
            </td>
        </tr>
            <tr>
                <td colspan="5">
                    <a href="JavaScript:void(0);" class="button bg-main" onclick="history.go(-1)"><span>返回</span></a>
                    <input type="submit" class="button bg-main" id="tijiao" style="margin-left: 40px"/>
                </td>
            </tr>
        </tbody>

    </table>
    </form>
</div>
<script type="text/javascript">
        $('#myform').layer({});
</script>